/*
 * interest.java
 *
 * Created on February 27, 2007, 9:07 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.mystuff;

/**
 *
 * @author abasnet
 */
public class interestBO {
    private String ID = "";
    private String description = "";
    private boolean dirty = false;
    private boolean alreadyInDB = false;
    
    /** Creates a new instance of interest */
    public interestBO(String ID) {
        this.setID(ID);
        
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
        setDirty(true);
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
        setDirty(true);
    }

    public boolean isDirty() {
        return dirty;
    }

    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }

    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }

    public void setAlreadyInDB(boolean alreadyInDB) {
        this.alreadyInDB = alreadyInDB;
    }
    
}
